package com.ruoyi.newSystem.bean.output;

import com.ruoyi.common.core.domain.entity.DeptDO;
import com.ruoyi.common.core.domain.entity.RoleDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Set;

/**
 * The type User page item resp vo.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class UserPageItemRespVO extends UserRespVO {

    /**
     * 所在部门
     */
    private List<DeptDO> deptList;

    /**
     * 所在部门
     */
    private List<RoleDO> roleList;

//    /**
//     * The type Dept.
//     */
//    @Schema(description = "部门")
//    @Data
//    public static class Dept {
//
////        @Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
//        private Long id;
//
////        @Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "研发部")
//        private String name;
//
//    }


    //    @Schema(description = "角色标识数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private Set<Long> roleIds;
    //    @Schema(description = "部门标识数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private Set<Long> deptIds;

}
